﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.Base.Entity
{
    public class Function
    {
        /// <summary>
        /// MenuID
        /// </summary>
        public string ID { get; set; }
        public string Code { get; set; }

        public string Name { get; set; }

        /// <summary>
        /// 产品版本
        /// </summary>
        public string ProductVersionID { get; set; }
        /// <summary>
        /// 子系统
        /// </summary>
        public string SubSystemID { get; set; }
        /// <summary>
        /// 关键应用
        /// </summary>
        public string ApplicationID { get; set; }

        /// <summary>
        /// 模块ID
        /// 当Function对象是一个模块的时候，ModuleID=ID；
        /// 当Function对象是一个功能组的时候，ModuleID等于其父级的ModuleID
        /// </summary>
        public string ModuleID { get; set; }

        public string ParentID { get; set; }

        public List<Function> Nodes { get; set; }
    }
}
